package com.basic.business.model.dto;

import com.basic.business.common.config.ValidationGroups;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;


/**
 * 系统异常日志记录(SysExceptionLog)实体类
 *
 * @author huage
 * @since 2021-07-20 14:33:45
 */
@ApiModel("SysExceptionLogDto")
@Data
public class SysExceptionLogDto implements Serializable {

    private static final long serialVersionUID = 403210602293213442L;

    @ApiModelProperty(value = "$column.comment")
    @NotNull(groups = {ValidationGroups.Update.class, ValidationGroups.Delete.class})
    @Min(value = 1, groups = {ValidationGroups.Update.class, ValidationGroups.Delete.class})
    private Integer id;

    private String exceptionId;

    @ApiModelProperty(value = "请求id")
    private String requestId;

    @ApiModelProperty(value = "异常事件")
    private String createTime;

    @ApiModelProperty(value = "异常类型")
    private String exceptionClass;

    @ApiModelProperty(value = "抛出异常的方法")
    private String exceptionMethodName;

    @ApiModelProperty(value = "异常内容")
    private String exceptionContent;

    private String orgId;

}
